package day10_io_code.com.itheima.d6_object;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectOutputStream;

public class Demo2_ObjectOutputStream {
    public static void main(String[] args) throws IOException {
        Student s = new Student("hei", 23, "mama9i", 666);
        ObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream(""));
        oos.writeObject(s);
        oos.close();
    }
}
